package net.apexes.demo.codegen.dslite.entity;


/**
 * Brand. the database table "BRAND"
 */
public class Brand extends net.apexes.demo.codegen.entity.base.EntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * SN
     */
    private String sn;

    /**
     * NAME
     */
    private String name;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void cloneFrom(Brand from) {
        this.sn = from.sn;
        this.name = from.name;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",sn=").append(sn);
        sb.append(",name=").append(name);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

